package exception;

import java.awt.*;
import java.io.IOException;

public class ThrowsDemo2 {
    public void dosome() throws IOException, AWTException{ }
}
class SubClass extends ThrowsDemo2{
    @Override
    public void dosome() throws IOException, AWTException {
        super.dosome();
    }
}
